SetTransferFunction(Single,Single,Color[]) Method
In This Topic
Set the transfer function (Colour Map) for use in Volume Rendering
Syntax
'Declaration
Public Overloads Sub SetTransferFunction( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal () As System.Drawing.Color _
)
'Usage
Dim instance As DicomImage3D
Dim Min As System.Single
Dim Max As System.Single
Dim Colours() As System.Drawing.Color
instance.SetTransferFunction(Min, Max, Colours)
public void SetTransferFunction(
System.float ,
System.float ,
System.Drawing.Color[]
)
public procedure SetTransferFunction(
: System.Single;
: System.Single;
: System.Drawing.Colorarray of
);
public function SetTransferFunction(
: System.float,
: System.float,
: System.Drawing.Color[]
);
public: void SetTransferFunction(
System.float ,
System.float ,
System.Drawing.Color[]*
)
public:
void SetTransferFunction(
System.float ,
System.float ,
System.Drawing.array<Color>^
)
Parameters
- Min
- The pixel value to be mapped to the first element of the Colours array
- Max
- The pixel value to be mapped to the last element of the Colours array
- Colours
- An array of Color values
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also